package com.nbot.server.service.impl;


import com.nbot.server.domain.Point;
import com.nbot.server.mapper.master.PointMapper;
import com.nbot.server.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lovewinner
 * @since 2018-04-30
 */
@Service
public class PointServiceImpl implements PointService {

    @Autowired
    private PointMapper pointMapper;

    @Override
    public Point getTagFormDesc(String searchdesc) {
        return pointMapper.getTagFormSearchdesc(searchdesc);
    }

    @Override
    public List<Point> getPointFormDesc(String searchdesc) {
        return pointMapper.getPointFormDesc(searchdesc);
    }

    @Override
    public List<Point> getSaveWeizhiPoint(String weiZhi) {
        return pointMapper.getSaveWeizhiPoint(weiZhi);
    }
}
